package com.kdd.campus.sh.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Auther: fcp
 * @Date: 2020/4/29 21:14
 * @Description:
 */
@ApiModel(description = "CartDto",value = "CartDto")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class QueryOrderDto {
    private Integer orderId;

    private Long sellerId;

    private String sellerImg;

    private String sellerName;//用户名

    private int status;     //交易关闭,待付款、待收获、待评价

    @NotEmpty
    private Double totalPrice;

    private Double realPayment;

    // 订单项信息
    private List<QueryOrderItemDto> orderItemDtoList;
}
